// 菜单配置
// headerMenuConfig：头部导航配置
// asideMenuConfig：侧边导航配置
const headerMenuConfig = [
  // {
  //   name: '首页',
  //   path: '/homepage',
  //   aside: false,
  // },
  // {
  //   name: '数据采集',
  //   path: '/dataCollection',
  //   aside: true,
  // },
  // {
  //   name: '资源目录',
  //   path: '/resourceList',
  //   aside: true,
  // },
  // {
  //   name: '资源服务',
  //   path: '/resourceService',
  //   aside: true,
  // },
  // {
  //   name: '数据源',
  //   path: '/dataSource',
  //   aside: true,
  // },
  // {
  //   name: '交换管理',
  //   path: '/exchangeManagement',
  //   aside: true,
  // },
  // {
  //   name: '基础配置',
  //   path: '/configuration',
  //   aside: true,
  // },
];


const asideMenuConfig = [
  {
    name: '数据采集',
    path: '/dataCollection',
    parent: 'dataCollection',
    icon: 'iconbuild',
    children: [
    {
      name: '数据采集任务管理',
      path: '/dataCollection/task',
    }]
  },
  {
    name: '元数据管理',
    path: '/resourceList/metadata',
    parent: 'resourceList',
    icon: 'iconappstore',
  },
  {
    name: '目录分类',
    path: '/resourceList/category',
    parent: 'resourceList',
    icon: 'iconappstore',
  },
  {
    name: '目录管理',
    path: '/resourceList/categoryManagement',
    parent: 'resourceList',
    icon: 'iconappstore',
    children: [
    {
      name: '目录登记',
      path: '/resourceList/categoryManagement/register',
    },{
      name: '目录审核',
      path: '/resourceList/categoryManagement/audit',
    },{
      name: '目录发布',
      path: '/resourceList/categoryManagement/release',
    },]
  },
  {
    name: '资源挂接',
    path: '/resourceList/resourceConnect',
    parent: 'resourceList',
    icon: 'iconappstore',
  },
  {
    name: '资源服务',
    path: '/resourceService',
    parent: 'resourceService',
    icon: 'iconappstore',
    children: [
    {
      name: '资源申请',
      path: '/resourceService/application',
    },{
      name: '已申请资源',
      path: '/resourceService/applied',
    },{
      name: '已共享资源',
      path: '/resourceService/shared',
    },]
  },
  {
    name: '数据源管理',
    path: '/dataSource',
    parent: 'dataSource',
    icon: 'iconappstore',
    children: [
    {
      name: '库表管理',
      path: '/dataSource/table',
    },{
      name: '文件管理',
      path: '/dataSource/file',
    },{
      name: '接口管理',
      path: '/dataSource/interface',
    },]
  },
  {
    name: '交换管理',
    path: '/exchangeManagement',
    parent: 'exchangeManagement',
    icon: 'iconappstore',
    children: [
    {
      name: '交换管理',
      path: '/exchangeManagement/exchange',
    },]
  },
  {
    name: '基础配置',
    path: '/configuration',
    parent: 'configuration',
    icon: 'iconappstore',
    children: [{
      name: '组织管理',
      path: '/configuration/organization',
    },{
      name: '节点管理',
      path: '/configuration/node',
    },{
      name: '类目管理',
      path: '/configuration/type',
    },]
  },
];

export { headerMenuConfig, asideMenuConfig };
